package com.winning.pmph.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winning.pmph.entity.User;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@CacheNamespace
public interface UserMapper extends BaseMapper<User> {
    User findUserById(@Param("id") String id);

    List<User> findAll();
}
